package com.example.lab4.Mapper;

import com.example.lab4.Entity.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;

@Mapper
public interface 乘客Dao {
    @Select("select * from 乘客")
    List<乘客> findAll();

    @Select("select * from 乘客 where 手机号 = #{手机号} and 密码 = #{密码}")
    乘客 search(乘客 record);
}
